import Vue from 'vue'
import Vuex from 'vuex'
import counter from './modules/counter.js'
import Other from './modules/other'
import Userseatch from './modules/use-seatch.js'
import presistedestate from 'vuex-persistedstate'


Vue.use(Vuex)



const store = new Vuex.Store({
   modules:{
    counter,
    Other,
    Userseatch
   },
   plugins:[presistedestate({paths:['counter']})]
})

export default store